Skip to content

modeld/SConscript: depend on tg HEAD + git status#38094

Draft
Armandpl wants to merge 1 commit into
masterfrom
better-tg-deps
Draft

modeld/SConscript: depend on tg HEAD + git status#38094
Armandpl wants to merge 1 commit into
masterfrom
better-tg-deps

Conversation

@Armandpl

@Armandpl Armandpl commented May 27, 2026

Copy link
Copy Markdown
Contributor

this makes the output of scons --tree readable by not depending on all tg files
useful to know what gets built, what it depends on and what will be ran:
scons -c selfdrive/modeld/ && scons -n --no-cache selfdrive/modeld/ --tree=all,status,linedraw 2>/dev/null

[  B      ]    ├─┬selfdrive/modeld/models/driving_tinygrad.pkl.chunkmanifest
[E     C  ]    │ ├─tinygrad@eecd4706fffe3ad8bdd7350e8db52d86d7214be2-f6129298473b164e65cb2745bf8accc96a0439c3ce77eb54432e75d4270a90ed
[E     C  ]    │ ├─selfdrive/modeld/compile_modeld.py
[E     C  ]    │ ├─selfdrive/modeld/get_model_metadata.py
[E     C  ]    │ ├─system/camerad/cameras/nv12_info.py
[E     C  ]    │ ├─system/hardware/hw.py
[E     C  ]    │ ├─selfdrive/modeld/models/driving_vision.onnx
[E     C  ]    │ ├─selfdrive/modeld/models/driving_policy.onnx
[E     C  ]    │ ├─['/home/batman/Dev/openpilot/selfdrive/modeld/models/driving_tinygrad.pkl.chunkmanifest', '/home/batman/Dev/openpilot/selfdrive/modeld/models/driving_tinygrad.pkl.chunk01of02', '/home/batman/Dev/openpilot/selfdrive/modeld/models/driving_tinygrad.pkl.chunk02of02']
[E     C  ]    │ └─common/file_chunker.py
  • manually hash all the files and use that instead? do we care about git dep at build time?

@github-actions

Copy link
Copy Markdown
Contributor

Process replay diff report

Replays driving segments through this PR and compares the behavior to master.
Please review any changes carefully to ensure they are expected.

✅ 0 changed, 66 passed, 0 errors

@github-actions

Copy link
Copy Markdown
Contributor

This PR has had no activity for 24 days. It will be automatically closed in 7 days if there is no activity.

@github-actions github-actions Bot added the stale label Jun 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant